package com.frxuexi.mymvi

sealed class NewsState {
    //请求成功，并把结果携带出来
    data class onSuccess(val list: List<NewsEntity>):NewsState()

    data class onError(val msg:String):NewsState()

    data object onLoading:NewsState()

}